<template>
  <div>
    <!-- 面包屑导航 -->
    <el-breadcrumb separator="/">
      <el-breadcrumb-item>加工厂管理</el-breadcrumb-item>
      <el-breadcrumb-item>加工厂列表</el-breadcrumb-item>
    </el-breadcrumb>
    <el-divider></el-divider>

    <!-- 分支机构列表 -->
    <el-table :data="tableData">
      <el-table-column align="center" label="公司照片" prop="pic" width="300px">
        <template slot-scope="scope">
          <img :src="scope.row.pic" alt="" width="200px">
        </template>
      </el-table-column>
      <el-table-column
        label="公司名称"
        prop="name"
        align="center"
      ></el-table-column>
      <el-table-column
        label="公司地址"
        prop="address"
        align="center"
      ></el-table-column>
      <el-table-column label="操作" width="180px" align="center">
        <el-button
          size="small"
          type="success"
          icon="el-icon-edit"
          circle
        ></el-button>
        <el-button
          size="small"
          type="danger"
          icon="el-icon-delete"
          circle
        ></el-button>
      </el-table-column>
    </el-table>
    <!-- 分页器 -->
    <el-pagination background layout="prev, pager, next" :total="20">
    </el-pagination>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          name: "苏州稻香村食品有限公司",
          address: "苏州工业园区唯亭镇唯文路19 号",
          pic:"http://www.daoxiangcun.cn/UpLoadFile/Images/2017/1/12/11523222870246746-1_cut800406.jpg"
        },
        {
          name: "苏州稻香村食品有限公司",
          address: "苏州工业园区唯亭镇唯文路19 号",
          pic:"http://www.daoxiangcun.cn/UpLoadFile/Images/2017/1/12/11523222870246746-1_cut800406.jpg"
        },
        {
          name: "苏州稻香村食品有限公司",
          address: "苏州工业园区唯亭镇唯文路19 号",
          pic:"http://www.daoxiangcun.cn/UpLoadFile/Images/2017/1/12/11523222870246746-1_cut800406.jpg"
        },
        {
          name: "苏州稻香村食品有限公司",
          address: "苏州工业园区唯亭镇唯文路19 号",
          pic:"http://www.daoxiangcun.cn/UpLoadFile/Images/2017/1/12/11523222870246746-1_cut800406.jpg"
        },
        {
          name: "苏州稻香村食品有限公司",
          address: "苏州工业园区唯亭镇唯文路19 号",
          pic:"http://www.daoxiangcun.cn/UpLoadFile/Images/2017/1/12/11523222870246746-1_cut800406.jpg"
        },
        {
          name: "苏州稻香村食品有限公司",
          address: "苏州工业园区唯亭镇唯文路19 号",
          pic:"http://www.daoxiangcun.cn/UpLoadFile/Images/2017/1/12/11523222870246746-1_cut800406.jpg"
        },
        
      ],
    };
  },
  methods: {},

  mounted() {},
};
</script>

<style lang="scss" scoped>
</style>